﻿
#pragma once

#include <cstdint>

#define LINE_NUM  8U

typedef struct {

	enum class LineType : uint8_t
	{
		UNKNOWN = 0,
		DASHED = 1,
		SOLID = 2,
	};

	enum class LineColor : uint8_t
	{
		UNKNOWN = 0,
		YELLOW = 1,
		WHITE = 2,
	};

	enum class LinePosition : uint8_t
	{
		UNKNOWN = 0,
		LEFT_LEFT = 1,
		LEFT = 2,
		RIGHT = 3,
		RIGHT_RIGHT = 4

	};

	struct Line
	{
		uint8_t			id = 0;				 
		LineType		type = LineType::UNKNOWN;
		LineColor		color = LineColor::UNKNOWN;
		LinePosition	position = LinePosition::UNKNOWN;			
		float			a0 = 0.0f;
		float			a1 = 0.0f;
		float			a2 = 0.0f;
		float			a3 = 0.0f;
		float			start = 0.0f;	
		float			end = 0.0f;		
		float			width = 0.0f;	
	};
	uint64_t	timeStamp;								
	Line		line[LINE_NUM];

}RoadMessageIF;

